#!/usr/bin/env python
# _*_ coding: utf-8 _*_
# 开发时间: 2019/9/11 8:10
# 开发人员: Mikel
# 邮箱地址: plyx_46204@126.com
# 文件名称: xadmin.py
# 开发团队：云飞国际
# 开发工具：PyCharm


import xadmin
from .models import UserProfile
class UserProfileAdmin(object):
    list_display = ['name', 'mobile', ]
    search_fields = ['name', 'mobile', ]
    list_editable = ['name', ]
    list_filter = ['name', 'mobile', ]

xadmin.site.register(UserProfile)
